home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / Statistic.h < prev    next >
C/C++ Source or Header  |  1990-07-09  |  641b  |  29 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2. // 
  3. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  4. // Copyright (C) 1989 University of Colorado, Boulder, Colorado
  5. // Copyright (C) 1990 University of Colorado, Boulder, Colorado
  6. //
  7. // written by Dirk Grunwald (grunwald@foobar.colorado.edu)
  8. //
  9. #ifndef STATISTICH
  10. #define STATISTICH
  11. #pragma once
  12.  
  13. #include <SampleStatistic.h>
  14. #include <stream.h>
  15.  
  16. class Statistic : public SampleStatistic {
  17. public:
  18.     virtual void classPrintOn(ostream&);
  19. };
  20.  
  21. inline ostream&
  22. operator<<(ostream& strm, Statistic& ob)
  23. {
  24.     ob.classPrintOn(strm);
  25.     return strm;
  26. }
  27.  
  28. #endif STATISTICH
  29.